package com.chint.springboot.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MyController {

    @GetMapping("/img/background.jpg")
    public String myMethod() {
        return "This is a controller method";
    }
}
